# Maintainer: Federico Di Pierro <nierro92@gmail.com>
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>

pkgname=systemd-boot-pacman-hook
pkgver=3
pkgrel=1
pkgdesc="Pacman hook to upgrade systemd-boot after systemd upgrade."
arch=("any")
license=("GPL")
depends=('systemd')
source=(systemd-boot.hook)
md5sums=('cd8b1e530ce6f239923362492fda3f4f')

package() {
    install -m755 -d "${pkgdir}/usr/share/libalpm/hooks"
    install -m644 "${srcdir}/systemd-boot.hook" "${pkgdir}/usr/share/libalpm/hooks/95-systemd-boot.hook"
}
